<!DOCTYPE html>
<html>
  <head>
    <title>FLV Stream Player</title>
    <script src="https://unpkg.com/flv.js/dist/flv.min.js"></script>
  </head>
  <body>
    <video id="videoElement" controls width="800" height="450"></video>

    <script>
      if (flvjs.isSupported()) {
        var videoElement = document.getElementById("videoElement");
        var flvPlayer = flvjs.createPlayer({
          type: "flv",
          url: "http://www.wyj1999.xyz:8443/live/stream.flv",
        });
        flvPlayer.attachMediaElement(videoElement);
        flvPlayer.load();
        flvPlayer.play();
      }
    </script>
  </body>
</html>
